package com.gfxy.modules.manage.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gfxy.modules.manage.entity.AssessmentItems;
import com.gfxy.modules.manage.entity.AssessmentProjectsItems;
import com.gfxy.modules.manage.entity.AssessmentProjectsItemsVo;
import com.gfxy.modules.manage.mapper.AssessmentItemsMapper;
import com.gfxy.modules.manage.mapper.AssessmentProjectsItemsMapper;
import com.gfxy.modules.manage.service.IAssessmentItemsService;
import com.gfxy.modules.manage.service.IAssessmentProjectsItemsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Description: 考核项
 * @Author: jeecg-boot
 * @Date:   2023-09-01
 * @Version: V1.0
 */
@Service
public class AssessmentItemsServiceImpl extends ServiceImpl<AssessmentItemsMapper, AssessmentItems> implements IAssessmentItemsService {



    @Override
    public AssessmentItems getItemByItemValue(int itemValue) {
        QueryWrapper<AssessmentItems> query = new QueryWrapper<AssessmentItems>().eq("item_value", itemValue);
        return this.baseMapper.selectOne(query);
    }
}
